package com.yonyou.brigade.order_center.model;

import com.baomidou.mybatisplus.enums.IdType;
import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * 乘机人信息
 *
 * @author jiangzhf@yonyou.com
 * @since 2018-07-09
 */
@TableName("bri_flight_passenger")
public class BriFlightPassenger extends Model<BriFlightPassenger> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 订单编号
     */
    @TableField("order_no")
    private String orderNo;
    /**
     * 乘机人姓名
     */
    @TableField("psg_name")
    private String psgName;
    /**
     * 乘机人员工编号
     */
    @TableField("oa_user_code")
    private String OAUserCode;
    /**
     * 乘客类型 ADT成人 INF婴儿 CHD儿童 UM 无人陪伴儿童
     */
    @TableField("psg_type")
    private String psgType;
    /**
     * 证件类型
     */
    @TableField("card_type")
    private String cardType;
    /**
     * 证件号
     */
    @TableField("card_no")
    private String cardNo;
    /**
     * 成本中心1
     */
    @TableField("cost_center")
    private String costCenter;
    /**
     * 机票号
     */
    @TableField("ticket_no")
    private String ticketNo;
    /**
     * 机票号2
     */
    @TableField("ticket_no_t")
    private String ticketNoT;
    /**
     * 票号状态：-1:未知（UnKnow）/1:待使用（OpenForUse）/2:已使用（USED/FLOWN）/3:已经办理登记（CHECKED-IN）/4:已离港（LIFT/BOARDED）/
     * 5:已作废（VOID）/6:已退票（REFUNDED）/7:换开（EXCHANGED）/8:挂起（SUSPENDED）/9:机场控制（AIRPORT CNTL）/10:机场控制（CPN NOTE）/
     * 11:未查到（NOT FOUND）/12:已改签(EXCHANGED)
     */
    @TableField("ticket_status")
    private String ticketStatus;
    /**
     * 部门名称
     */
    @TableField("department_name")
    private String departmentName;
    /**
     * 是否允许提价退票Y允许 N 不允许
     */
    @TableField("is_allow_refund")
    private String isAllowRefund;
    /**
     * 当前乘机人实退金额
     */
    @TableField("psg_refund_price")
    private BigDecimal psgRefundPrice;
    /**
     * 当前乘机人退票费
     */
    @TableField("psg_tp_price")
    private BigDecimal psgTpPrice;
    /**
     * 服务费
     */
    @TableField("counter_fee")
    private BigDecimal counterFee;
    /**
     * Y是 N 否
     */
    @TableField("is_rule_over")
    private String isRuleOver;
    /**
     * 不符合差旅项
     */
    @TableField("no_travel_rules")
    private String noTravelRules;
    /**
     * 退票服务费
     */
    @TableField("tp_counter_fee")
    private BigDecimal tpCounterFee;
    /**
     * 保险产品ID
     */
    @TableField("ins_id")
    private String insId;
    /**
     * 保险名称
     */
    @TableField("ins_name")
    private String insName;
    /**
     * 保险份数
     */
    @TableField("ins_count")
    private Integer insCount;
    /**
     * 保险单价
     */
    @TableField("ins_money")
    private BigDecimal insMoney;
    /**
     * 公务员卡开户银行
     */
    @TableField("purchase_bank")
    private String purchaseBank;
    /**
     * 是否常旅客 0临客  1 常旅客
     */
    @TableField("is_cus_psg")
    private String isCusPsg;
    /**
     * 乘机人职级
     */
    @TableField("psg_level")
    private String psgLevel;
    /**
     * 绑定服务费
     */
    @TableField("bind_counter_fee")
    private BigDecimal bindCounterFee;
    /**
     * 基建和燃油
     */
    @TableField("consturct_and_fuel")
    private BigDecimal consturctAndFuel;
    /**
     * 部门1
     */
    @TableField("department1")
    private String department1;
    /**
     * 部门2
     */
    @TableField("department2")
    private String department2;
    /**
     * 部门3
     */
    @TableField("department3")
    private String department3;
    /**
     * 成本中心2
     */
    @TableField("cost_center2")
    private String costCenter2;
    /**
     * 成本中心3
     */
    @TableField("cost_center3")
    private String costCenter3;

    private Date ts;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getPsgName() {
        return psgName;
    }

    public void setPsgName(String psgName) {
        this.psgName = psgName;
    }

    public String getOAUserCode() {
        return OAUserCode;
    }

    public void setOAUserCode(String OAUserCode) {
        this.OAUserCode = OAUserCode;
    }

    public String getPsgType() {
        return psgType;
    }

    public void setPsgType(String psgType) {
        this.psgType = psgType;
    }

    public String getCardType() {
        return cardType;
    }

    public void setCardType(String cardType) {
        this.cardType = cardType;
    }

    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }

    public String getCostCenter() {
        return costCenter;
    }

    public void setCostCenter(String costCenter) {
        this.costCenter = costCenter;
    }

    public String getTicketNo() {
        return ticketNo;
    }

    public void setTicketNo(String ticketNo) {
        this.ticketNo = ticketNo;
    }

    public String getTicketNoT() {
        return ticketNoT;
    }

    public void setTicketNoT(String ticketNoT) {
        this.ticketNoT = ticketNoT;
    }

    public String getTicketStatus() {
        return ticketStatus;
    }

    public void setTicketStatus(String ticketStatus) {
        this.ticketStatus = ticketStatus;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public String getIsAllowRefund() {
        return isAllowRefund;
    }

    public void setIsAllowRefund(String isAllowRefund) {
        this.isAllowRefund = isAllowRefund;
    }

    public BigDecimal getPsgRefundPrice() {
        return psgRefundPrice;
    }

    public void setPsgRefundPrice(BigDecimal psgRefundPrice) {
        this.psgRefundPrice = psgRefundPrice;
    }

    public BigDecimal getPsgTpPrice() {
        return psgTpPrice;
    }

    public void setPsgTpPrice(BigDecimal psgTpPrice) {
        this.psgTpPrice = psgTpPrice;
    }

    public BigDecimal getCounterFee() {
        return counterFee;
    }

    public void setCounterFee(BigDecimal counterFee) {
        this.counterFee = counterFee;
    }

    public String getIsRuleOver() {
        return isRuleOver;
    }

    public void setIsRuleOver(String isRuleOver) {
        this.isRuleOver = isRuleOver;
    }

    public String getNoTravelRules() {
        return noTravelRules;
    }

    public void setNoTravelRules(String noTravelRules) {
        this.noTravelRules = noTravelRules;
    }

    public BigDecimal getTpCounterFee() {
        return tpCounterFee;
    }

    public void setTpCounterFee(BigDecimal tpCounterFee) {
        this.tpCounterFee = tpCounterFee;
    }

    public String getInsId() {
        return insId;
    }

    public void setInsId(String insId) {
        this.insId = insId;
    }

    public String getInsName() {
        return insName;
    }

    public void setInsName(String insName) {
        this.insName = insName;
    }

    public Integer getInsCount() {
        return insCount;
    }

    public void setInsCount(Integer insCount) {
        this.insCount = insCount;
    }

    public BigDecimal getInsMoney() {
        return insMoney;
    }

    public void setInsMoney(BigDecimal insMoney) {
        this.insMoney = insMoney;
    }

    public String getPurchaseBank() {
        return purchaseBank;
    }

    public void setPurchaseBank(String purchaseBank) {
        this.purchaseBank = purchaseBank;
    }

    public String getIsCusPsg() {
        return isCusPsg;
    }

    public void setIsCusPsg(String isCusPsg) {
        this.isCusPsg = isCusPsg;
    }

    public String getPsgLevel() {
        return psgLevel;
    }

    public void setPsgLevel(String psgLevel) {
        this.psgLevel = psgLevel;
    }

    public BigDecimal getBindCounterFee() {
        return bindCounterFee;
    }

    public void setBindCounterFee(BigDecimal bindCounterFee) {
        this.bindCounterFee = bindCounterFee;
    }

    public BigDecimal getConsturctAndFuel() {
        return consturctAndFuel;
    }

    public void setConsturctAndFuel(BigDecimal consturctAndFuel) {
        this.consturctAndFuel = consturctAndFuel;
    }

    public String getDepartment1() {
        return department1;
    }

    public void setDepartment1(String department1) {
        this.department1 = department1;
    }

    public String getDepartment2() {
        return department2;
    }

    public void setDepartment2(String department2) {
        this.department2 = department2;
    }

    public String getDepartment3() {
        return department3;
    }

    public void setDepartment3(String department3) {
        this.department3 = department3;
    }

    public String getCostCenter2() {
        return costCenter2;
    }

    public void setCostCenter2(String costCenter2) {
        this.costCenter2 = costCenter2;
    }

    public String getCostCenter3() {
        return costCenter3;
    }

    public void setCostCenter3(String costCenter3) {
        this.costCenter3 = costCenter3;
    }

    public Date getTs() {
        return ts;
    }

    public void setTs(Date ts) {
        this.ts = ts;
    }

    public static final String ID = "id";

    public static final String ORDER_NO = "order_no";

    public static final String PSG_NAME = "psg_name";

    public static final String OA_USER_CODE = "oa_user_code";

    public static final String PSG_TYPE = "psg_type";

    public static final String CARD_TYPE = "card_type";

    public static final String CARD_NO = "card_no";

    public static final String COST_CENTER = "cost_center";

    public static final String TICKET_NO = "ticket_no";

    public static final String TICKET_NO_T = "ticket_no_t";

    public static final String TICKET_STATUS = "ticket_status";

    public static final String DEPARTMENT_NAME = "department_name";

    public static final String IS_ALLOW_REFUND = "is_allow_refund";

    public static final String PSG_REFUND_PRICE = "psg_refund_price";

    public static final String PSG_TP_PRICE = "psg_tp_price";

    public static final String COUNTER_FEE = "counter_fee";

    public static final String IS_RULE_OVER = "is_rule_over";

    public static final String NO_TRAVEL_RULES = "no_travel_rules";

    public static final String TP_COUNTER_FEE = "tp_counter_fee";

    public static final String INS_ID = "ins_id";

    public static final String INS_NAME = "ins_name";

    public static final String INS_COUNT = "ins_count";

    public static final String INS_MONEY = "ins_money";

    public static final String PURCHASE_BANK = "purchase_bank";

    public static final String IS_CUS_PSG = "is_cus_psg";

    public static final String PSG_LEVEL = "psg_level";

    public static final String BIND_COUNTER_FEE = "bind_counter_fee";

    public static final String CONSTURCT_AND_FUEL = "consturct_and_fuel";

    public static final String DEPARTMENT1 = "department1";

    public static final String DEPARTMENT2 = "department2";

    public static final String DEPARTMENT3 = "department3";

    public static final String COST_CENTER2 = "cost_center2";

    public static final String COST_CENTER3 = "cost_center3";

    public static final String TS = "ts";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "BriFlightPassenger{" +
                "id=" + id +
                ", OAUserCode=" + OAUserCode +
                ", psgType=" + psgType +
                ", cardType=" + cardType +
                ", cardNo=" + cardNo +
                ", costCenter=" + costCenter +
                ", ticketNo=" + ticketNo +
                ", ticketNoT=" + ticketNoT +
                ", ticketStatus=" + ticketStatus +
                ", departmentName=" + departmentName +
                ", isAllowRefund=" + isAllowRefund +
                ", psgRefundPrice=" + psgRefundPrice +
                ", psgTpPrice=" + psgTpPrice +
                ", counterFee=" + counterFee +
                ", isRuleOver=" + isRuleOver +
                ", noTravelRules=" + noTravelRules +
                ", tpCounterFee=" + tpCounterFee +
                ", insId=" + insId +
                ", insName=" + insName +
                ", insCount=" + insCount +
                ", insMoney=" + insMoney +
                ", purchaseBank=" + purchaseBank +
                ", isCusPsg=" + isCusPsg +
                ", psgLevel=" + psgLevel +
                ", bindCounterFee=" + bindCounterFee +
                ", consturctAndFuel=" + consturctAndFuel +
                ", department1=" + department1 +
                ", department2=" + department2 +
                ", department3=" + department3 +
                ", costCenter2=" + costCenter2 +
                ", costCenter3=" + costCenter3 +
                ", ts=" + ts +
                '}';
    }
}
